#!/bin/bash
cnt=1
content_type="Content-Type: application/xml"
url="http://localhost:8080/DataValidation/rest/validate/upload/"
while [ $cnt -lt 6 ]
do
    file_name=${cnt}"-check.xml"
    temp_url=${url}""${cnt}
    echo $temp_url
    `curl -H "Content-Type: application/xml" -T $file_name -X POST $temp_url`
    cnt=`expr $cnt + 1`
done

